// MapObject.h: interface for the MapObject class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAPOBJECT_H__5ACBB04B_B1A3_4716_86DE_ED7FAF1D96B7__INCLUDED_)
#define AFX_MAPOBJECT_H__5ACBB04B_B1A3_4716_86DE_ED7FAF1D96B7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "NonCharacter.h"

struct BASE_MAPOBJECTINFO
{
	DWORD		m_dwHP;
	DWORD		m_dwMaxHP;
};

class MapObject  : public NonCharacter
{
public:
	MapObject();
	virtual ~MapObject();

	virtual VOID				Update( DWORD dwDeltaTick );
	inline BASE_MAPOBJECTINFO *	GetBaseInfo() { return &m_BaseInfo; }
	//VOID						SetBaseInfo( BASE_MAPOBJECTINFO * pInfo );
	virtual BOOL				Init();
	virtual VOID				Release();
	DWORD						GetHP(){ return m_BaseInfo.m_dwHP;	}
	DWORD						GetMaxHP(){ return m_BaseInfo.m_dwMaxHP;	}
	VOID						DescreasingHP( DWORD dwHP );
protected:
	
	BASE_MAPOBJECTINFO		m_BaseInfo;
};

#endif // !defined(AFX_MAPOBJECT_H__5ACBB04B_B1A3_4716_86DE_ED7FAF1D96B7__INCLUDED_)
